import { IllNessTime, DeliveryStatus } from '@/enum'
import type { OptionsType } from '@/types/consult'

export const timeOptions: OptionsType[] = [
  { label: '一周内', value: IllNessTime.week },
  { label: '一月内', value: IllNessTime.month },
  { label: '半年内', value: IllNessTime.halfYear },
  { label: '大于半年', value: IllNessTime.more }
]
// 是否就诊过
export const illnessedOptions: OptionsType[] = [
  { label: '就诊过', value: 0 },
  { label: '没就诊过', value: 1 }
]
export const imageTypes = [
  'image/jpeg',
  'image/gif',
  'image/bmp',
  'image/png',
  'image/webp'
]
export const logisticsStatus = [
  { label: '已发货', value: DeliveryStatus.Delivered },
  { label: '已揽收', value: DeliveryStatus.Accepted },
  { label: '运输中', value: DeliveryStatus.Transiting },
  { label: '派送中', value: DeliveryStatus.Delivering },
  { label: '已签收', value: DeliveryStatus.Signed }
]
